
<%@ page import="iceportal1.User" %>
        <g:set var="entityName" value="${message(code: 'user.label', default: 'User')}" />

        <div class="nav">
             <span class="menuButton"><g:remoteLink class="list" action="list" update="user"><g:message code="default.list.label" args="[entityName]" /></g:remoteLink></span>
            <span class="menuButton"><g:remoteLink class="create" action="create" update="user"><g:message code="default.new.label" args="[entityName]" /></g:remoteLink></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                       
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="user.userName.label" default="User Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: userInstance, field: "userName")}</td>
                            
                        </tr>
                        
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="user.domain.label" default="Domain" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: userInstance, field: "domain")}</td>
                            
                        </tr>
                    
                     
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:formRemote name="userEditDelete" url="[action:'save']" update="user" method="get" >
                    <g:hiddenField name="id" value="${userInstance?.userName}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:formRemote>
            </div>
        </div>
    </body>
</html>
